<include file="Public:js" /> 
<div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="#">首页</a><span class="crumb-step">&gt;</span><span class="crumb-name">分类列表</span></div>
        </div>
        <div class="search-wrap">
            <div class="search-content">
                <form action="" method="post">
                  <!--   <table class="search-tab">
                        <tr>
                           
                            
                            <th width="70">关键字:</th>
                            <td><input class="common-text" placeholder="关键字" name="keywords" value="" id="" type="text"></td>
                            <td><input class="btn btn-primary btn2" name="sub" value="查询" type="submit"></td>
                        </tr>
                    </table> -->
                </form>
            </div>
        </div>
        <div class="result-wrap">
           
                <div class="result-title">
                    <div class="result-list">
                        <a href="{:U('Terms/addField',array('term_id'=>$term_id))}"><i class="icon-font"></i>新增</a>
                       <!-- <a id="batchDel" href="javascript:void(0)"><i class="icon-font"></i>批量删除</a>
                        <a id="updateOrd" href="javascript:void(0)"><i class="icon-font"></i>更新排序</a>-->
                        <a   href="javascript:history.back(-1);"><i class="icon-font"></i>返回</a>
                    </div>
                </div>
                <div class="result-content">
                    <table class="result-tab" width="80%">
                        <tr>
                            <!--<th class="tc" width="5%"><input class="allChoose" name="" type="checkbox"></th>-->
                            <!--<th>排序</th>-->
                            <th>ID</th>
                            <th>字段名</th>
                            <th>标识名</th>
                            <th>字段类型</th>
                              
                            <th width="20%">操作</th>
                        </tr>
                        <foreach name="data" item="val"> 
                        <tr>
                            <!--<td class="tc"><input name="id[]" value="59" type="checkbox"></td>-->
                           <!-- <td>
                                <input name="ids[]" value="{$ov.security_id}" type="hidden">
                             
                            </td>-->
                            <td>{$val.id}</td>
                            <td>{$val.field}</td>
                            <td>{$val.name}</td>
                            <td>{$val.form_type}</td>
                             
                           
                            <td>
                                <a class="link-update" href="{:U('Terms/editField',array('term_id'=>$val['term_id'],'id'=>$val['id']))}">修改</a>
                                <!-- <a class="link-del" href="{:U('Terms/delField',array('id'=>$val['id'],'term_id'=>$val['term_id']))}">删除</a> -->
                                
                            </td>
                            
                        </tr>
                        </foreach> 
                        
                    </table>
                    <div class="list-page"> 2 条 1/1 页</div>
                </div>
          
        </div>
    </div>
  